package com.baosight.risk.mapper.riwa;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.riwa.entity.RiwaRiskWaringRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RiwaRiskWaringRuleMapper extends BaseMapper<RiwaRiskWaringRule> {

    List<RiwaRiskWaringRule> getWaringRuleByStatusId(@Param("warningStatusGuid") String warningStatusGuid);



    Integer deleteByWaringId(@Param("warningModelGuid") String warningModelGuid);

    /**
     * 通过披露报告查询出所有指标
     *
     * @param reportId
     * @return
     */
    List<RiwaRiskWaringRule> getWaringRuleByReportId(@Param("reportId") String reportId);
}